//
//  NotifyingClass.m
//  TextApp
//
//  Created by panos on 16/11/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "NotifyingClass.h"

@implementation NotifyingClass

- (IBAction)displaySomeText:(id)sender
{
	WonderfulNumber *myWonderfulNumber = [WonderfulNumber wonderfulNumberWithFloat:pi];
	
	NSString *stringToOutput = @"The value is: ";
	
	stringToOutput = [stringToOutput stringByAppendingString:[myWonderfulNumber storedNumberAsString]];
	
	[textView insertText:stringToOutput];
	
}


- (float)generateValue:(float *)originalValue
{
	float value = [textField floatValue];
	*originalValue = value;
	return [MathUtilities circumferenceFromRadius:value];
}

@end
